<!--{template admin/header}-->
<body id="homepage">
    <div id="breadcrumb">
        <ul>
            <li><img src="static/img/icons/icon_breadcrumb.png"
                     alt="Location" /></li>
            <li><strong>位置:</strong></li>
            <li><a href="admin.php">购买记录</a> - 购买记录</li>
        </ul>
    </div>
    <div id="rightside">
        <div class="contentcontainer">
            <div class="headings altheading">
                <h2>购买记录</h2>
            </div>
            <div class="contentbox">
            	<table width="100%">
                    <thead>
                        <tr><th>用户id</th><th>支付类型</th><th>订单号</th><th>支付金额</th><th>购买时长</th><th>支付时间</th><th>过期时间</th><th>支付情况</th></tr>
                    </thead>
                    <tbody>
                    	<!--{loop $result $value}-->
                        <tr>
  							<td>{$value[uid]}</td>
  							<td>
  								<!--{if $value[type]==2}-->
  								易宝支付
  								<!--{/if}-->
  							</td>
  							<td>{$value[order]}</td>
  							<td>{$value[price]}元</td>
  							<td>{$value[duration]}个月</td>
  							<td>
  								<!--{date('Y-m-d H:i:s',$value[pay_time])}-->
  							</td>
  							<td>
  								<!--{date('Y-m-d H:i:s',$value[over_time])}-->
  							</td>
  							<td>
  								<!--{if $value[status]==0}-->
  								支付失败
  								<!--{/if}-->
  							</td>
  						</tr>
                        <!--{/loop}-->
                    </tbody>
                </table>
                </div>
                <div class="extrabottom">
                    <ul>
                    	<li><img src="static/img/icons/gif_sms.gif" />评论列表</li>
                    	<li><img src="static/img/icons/gif_view.gif" />日记详情</li>
                        <li><img src="static/img/icons/gif_people.gif" />作者信息</li>
                    </ul>
                    <div class="bulkactions">
                        <ul class="pagination">
                            <!--{if $prevpurl!=''}-->
                            <li class="text"><a href="{$firstpurl}" title="">第一页</a></li>
                            <li class="text"><a href="{$prevpurl}" title="">上一页</a></li>
                            <!--{/if}-->
                            <li class="text"><a href="{$nextpurl}" title="">下一页</a></li>
                        </ul>
                        <div style="clear: both;"></div>
                    </div>
                </div>
                <div style="clear: both;"></div>
            </div>
        </div>
    </div>
    <!--{template admin/leftside}-->
    <!--{template admin/footer}-->